home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / science / normix21.zip / NORMIX21 / WNORMIX.BAT < prev   
DOS Batch File  |  1995-01-10  |  621b  |  23 lines

  1. echo off
  2. echo. | time | find "Current" >c:\temp\time1
  3. if "%1"=="" goto THIS
  4.    REM Otherwise, use input form on %1.
  5. if "%2"=="" goto CRT
  6.    REM Spool the display to the file %2.
  7.    echo %1 | c:\normix21\pcnormix >>%2 
  8.    goto TIMES
  9. :CRT
  10.    REM Display on screen.
  11.    echo %1 | c:\normix21\pcnormix 
  12.    goto TIMES
  13. :THIS
  14.    REM Take input form from "thisjob".
  15.    echo. | c:\normix21\pcnormix
  16. :TIMES 
  17.    REM Display start and finish times.
  18.    echo. | time | find "Current" >c:\temp\time2
  19.    echo START TIME for pcnormix %1
  20.    type c:\temp\time1
  21.    echo FINISH TIME for pcnormix %1
  22.    type c:\temp\time2
  23.